feat: add es2026 as a valid target and lib - #64096
Open
Oleksandr Tarasiuk (a-tarasyuk) wants to merge 2 commits into
Open
feat: add es2026 as a valid target and lib#64096Oleksandr Tarasiuk (a-tarasyuk) wants to merge 2 commits into
Oleksandr Tarasiuk (a-tarasyuk) wants to merge 2 commits into
Conversation
Oleksandr Tarasiuk (a-tarasyuk)
force-pushed
the
feat/63704
branch
from
August 31, 2026 21:08
fefecb3 to
a022dd9
Compare
Oleksandr Tarasiuk (a-tarasyuk)
marked this pull request as ready for review
August 31, 2026 21:27
Copilot started reviewing on behalf of
Oleksandr Tarasiuk (a-tarasyuk)
August 31, 2026 21:28
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Adds ES2026 compiler-target and standard-library support, including the APIs requested by #63704.
Changes:
- Registers
es2026as a target, default standard target, and library. - Adds ES2026 API declarations and preserves
esnext.*aliases. - Adds conformance tests and refreshes generated baselines.
Reviewed changes
Copilot reviewed 136 out of 540 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
packages/typescript/src/enums/scriptTarget*.ts |
Exposes ES2026 publicly. |
packages/typescript/test/{async,sync}/api.test.ts |
Updates target diagnostics. |
tsc/internal/core/{compileroptions,scripttarget_stringer_generated}.go |
Defines and formats the target. |
tsc/internal/tsoptions/enummaps.go |
Registers target, libraries, and compatibility aliases. |
tsc/internal/transformers/estransforms/definitions.go |
Selects the ES2026 transform pipeline. |
tsc/internal/checker/utilities.go |
Adds ES2026 library suggestions. |
tsc/internal/bundled/libs/lib.es2026*.d.ts |
Defines the ES2026 library and APIs. |
tsc/internal/bundled/libs/lib.esnext.d.ts |
Makes ESNext inherit ES2026. |
tsc/internal/bundled/{embed_generated,libs_generated}.go |
Embeds and registers new libraries. |
tsc/internal/compiler/program_test.go |
Updates expected ESNext library ordering. |
tsc/testdata/fixtures/compiler/*.ts |
Synchronizes compiler fixtures. |
tsc/testdata/tests/cases/conformance/es2026/*.ts |
Tests ES2026 APIs and diagnostics. |
tsc/testdata/baselines/reference/** |
Refreshes generated compiler, build, watch, API, and conformance baselines. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #63704